package com.platform.hjt.base.log;

import org.aspectj.lang.JoinPoint;

/**
 * 通用日志切面接口
 * @author 吴智超
 * 2016-09-27
 */
public interface ILogAspect {

	public void log();
	
	public void befortAction(JoinPoint joinPoint);
	
	public void afterAction(JoinPoint joinPoint);
	
	public void after(JoinPoint joinPoint, Object returnObj);
	
	public void after(JoinPoint joinPoint, Exception e);
	
	public void aroundAction(JoinPoint joinPoint);
	
	public AopLog getAnnotaction(JoinPoint joinPoint);
	
	public boolean checkType(AopLog annotation, int type);
	
	public void handleLog(JoinPoint joinPoint, Exception e, Object returnObj);
}
